package io.renren.modules.person.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author A夜兔A
 * @data 2021年11月16日 17:37
 */

@Data
public class Person {

    private Integer customerId;
    private long userId;
    private String  name;
    private Integer gender;
    private String telephone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    private BigDecimal money;
    @TableField(exist = false)
    private String shopNum;
    @TableField(exist = false)
    private String username;

}
